package org.hxzon.rpggame.bean;

//属性信息
public class Attr {

    private final String name;
    private final boolean isDouble;//所有浮点值扩大10000被存储
    private final boolean isRatio;//比例值

    public Attr(String name, boolean isDouble, boolean isRatio) {
        this.name = name;
        this.isDouble = isDouble;
        this.isRatio = isRatio;
    }

    public String getName() {
        return name;
    }

    public boolean isDouble() {
        return isDouble;
    }

    public boolean isRatio() {
        return isRatio;
    }

}
